package org.lgiavedoni.android.franq.core.dao.sort;

import java.io.Serializable;
import java.util.Comparator;

import org.lgiavedoni.android.franq.core.dao.DaoObject;

public class SortByCreationDate implements Comparator<DaoObject>, Serializable {

	private static final long serialVersionUID = 1L;

	@Override
	public int compare(DaoObject arg0, DaoObject arg1) {
		return arg0.getCreationDate().compareTo(arg1.getCreationDate());

	}
}
